package edu.hwadee.entity;

import java.util.Date;

/**
 * Oilbuy entity. @author MyEclipse Persistence Tools
 */

public class Oilbuy implements java.io.Serializable {

	// Fields

	private Integer oilBuyId;
	private Staff staff;
	private Company company;
	private Car car;
	private Date oilBuyDate;
	private Float oilquanity;
	private Float actualCost;

	// Constructors

	/** default constructor */
	public Oilbuy() {
	}

	/** full constructor */
	public Oilbuy(Staff staff, Company company, Car car, Date oilBuyDate, Float oilquanity, Float actualCost) {
		this.staff = staff;
		this.company = company;
		this.car = car;
		this.oilBuyDate = oilBuyDate;
		this.oilquanity = oilquanity;
		this.actualCost = actualCost;
	}

	// Property accessors

	public Integer getOilBuyId() {
		return this.oilBuyId;
	}

	public void setOilBuyId(Integer oilBuyId) {
		this.oilBuyId = oilBuyId;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public Company getCompany() {
		return this.company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public Car getCar() {
		return this.car;
	}

	public void setCar(Car car) {
		this.car = car;
	}

	public Date getOilBuyDate() {
		return this.oilBuyDate;
	}

	public void setOilBuyDate(Date oilBuyDate) {
		this.oilBuyDate = oilBuyDate;
	}

	public Float getOilquanity() {
		return this.oilquanity;
	}

	public void setOilquanity(Float oilquanity) {
		this.oilquanity = oilquanity;
	}

	public Float getActualCost() {
		return this.actualCost;
	}

	public void setActualCost(Float actualCost) {
		this.actualCost = actualCost;
	}

}